﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KQ.DCMMP.Common
{
    public static class DefaultCompareTypes
    {
        public const string String = "STRING";
        public const string Refer = "REFER";
        public const string Org = "ORG";
        public const string Dict = "DICT";

        public static bool IsString(string extensionType)
        {
            return string.Equals(extensionType, String, StringComparison.OrdinalIgnoreCase);
        }

        public static bool IsRefer(string extensionType)
        {
            return string.Equals(extensionType, Refer, StringComparison.OrdinalIgnoreCase);
        }

        public static bool IsOrg(string extensionType)
        {
            return string.Equals(extensionType, Org, StringComparison.OrdinalIgnoreCase);
        }

        public static bool IsDict(string extensionType)
        {
            return string.Equals(extensionType, Dict, StringComparison.OrdinalIgnoreCase);
        }
    }
}
